package mail;

import java.text.SimpleDateFormat;
import java.util.Date;

public class StartMain {

    public static void main(String[] args) {
        SimpleDateFormat sb  = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    /*   EmailService s = new EmailService();
        EmailServicePortType locator =  s.getEmailServiceHttpPort();
        ArrayOfString ss = new ArrayOfString();
        // 1279 1235
        String res =  locator.sendInternalMail("1279","1235","","","这个是标题"+sb.format(new Date()),"这个是内容"+sb.format(new Date()),ss);

        */
        String res =   UtilFwSendMailLocal.sendMail("1279","1235","","","这个是标题"+sb.format(new Date()),"这个是内容"+sb.format(new Date()));

        System.out.println(res);
    }

}
